<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>轮回之牢: BaseBuff类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">轮回之牢<span id="projectnumber">&#160;0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="class_base_buff-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">BaseBuff类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>buff基类  
 <a href="class_base_buff.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_base_buff_8h_source.html">BaseBuff.h</a>&gt;</code></p>
<div class="dynheader">
类 BaseBuff 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_buff__inherit__graph.png" border="0" usemap="#a_base_buff_inherit__map" alt="Inheritance graph"/></div>
<map name="a_base_buff_inherit__map" id="a_base_buff_inherit__map">
<area shape="rect" title="buff基类" alt="" coords="294,80,369,107"/>
<area shape="rect" href="class_armour.html" title="盔甲基类" alt="" coords="86,155,150,181"/>
<area shape="rect" href="class_glass_purple.html" title="紫色药瓶" alt="" coords="174,155,267,181"/>
<area shape="rect" href="class_glass_red.html" title="红色药瓶" alt="" coords="292,155,371,181"/>
<area shape="rect" href="class_lost_eye.html" title="失落之眼" alt="" coords="395,155,465,181"/>
<area shape="rect" href="class_osseous_remains.html" title="残骨质" alt="" coords="490,155,615,181"/>
<area shape="rect" href="class_base_item.html" title="物品基类" alt="" coords="293,5,370,32"/>
<area shape="rect" href="class_armour_bronze.html" title="铜制盔甲" alt="" coords="5,229,111,256"/>
<area shape="rect" href="class_armour_plat.html" title="紫水晶盔甲" alt="" coords="135,229,221,256"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<div class="dynheader">
BaseBuff 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_buff__coll__graph.png" border="0" usemap="#a_base_buff_coll__map" alt="Collaboration graph"/></div>
<map name="a_base_buff_coll__map" id="a_base_buff_coll__map">
<area shape="rect" title="buff基类" alt="" coords="7,80,81,107"/>
<area shape="rect" href="class_base_item.html" title="物品基类" alt="" coords="5,5,83,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:abd2c21a1a0c95590208317291a8f874b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_buff.html#abd2c21a1a0c95590208317291a8f874b">getPermanentDefensivePowerBuff</a> () const</td></tr>
<tr class="memdesc:abd2c21a1a0c95590208317291a8f874b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取buff提供的永久防御力  <a href="class_base_buff.html#abd2c21a1a0c95590208317291a8f874b">更多...</a><br /></td></tr>
<tr class="separator:abd2c21a1a0c95590208317291a8f874b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf220469ae6a5ab0630a39163f57030d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_buff.html#abf220469ae6a5ab0630a39163f57030d">getVelocityBuffRatio</a> () const</td></tr>
<tr class="memdesc:abf220469ae6a5ab0630a39163f57030d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取buff提供的速度比率  <a href="class_base_buff.html#abf220469ae6a5ab0630a39163f57030d">更多...</a><br /></td></tr>
<tr class="separator:abf220469ae6a5ab0630a39163f57030d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a398e128ef2a8e43ac6374b06fb5517c5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_buff.html#a398e128ef2a8e43ac6374b06fb5517c5">getGravityBuffRatio</a> () const</td></tr>
<tr class="memdesc:a398e128ef2a8e43ac6374b06fb5517c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取buff提供的重力比率  <a href="class_base_buff.html#a398e128ef2a8e43ac6374b06fb5517c5">更多...</a><br /></td></tr>
<tr class="separator:a398e128ef2a8e43ac6374b06fb5517c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f5635190ba668e2b4ab84701e85e57d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_buff.html#a8f5635190ba668e2b4ab84701e85e57d">getAttackPowerBuffRatio</a> () const</td></tr>
<tr class="memdesc:a8f5635190ba668e2b4ab84701e85e57d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取buff提供的攻击力比率  <a href="class_base_buff.html#a8f5635190ba668e2b4ab84701e85e57d">更多...</a><br /></td></tr>
<tr class="separator:a8f5635190ba668e2b4ab84701e85e57d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a146b793898a143af06393e0df870528d"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_buff.html#a146b793898a143af06393e0df870528d">getHealthBuff</a> () const</td></tr>
<tr class="memdesc:a146b793898a143af06393e0df870528d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取buff提供的体力值  <a href="class_base_buff.html#a146b793898a143af06393e0df870528d">更多...</a><br /></td></tr>
<tr class="separator:a146b793898a143af06393e0df870528d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa016c942a60c774c7dcf2e25b9aece29"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_buff.html#aa016c942a60c774c7dcf2e25b9aece29">getHealthBuffRatio</a> () const</td></tr>
<tr class="memdesc:aa016c942a60c774c7dcf2e25b9aece29"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取buff提供的体力值比率  <a href="class_base_buff.html#aa016c942a60c774c7dcf2e25b9aece29">更多...</a><br /></td></tr>
<tr class="separator:aa016c942a60c774c7dcf2e25b9aece29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03664e0db898c0765a6fff50a575370f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_buff.html#a03664e0db898c0765a6fff50a575370f">getDefensivePowerBuff</a> () const</td></tr>
<tr class="memdesc:a03664e0db898c0765a6fff50a575370f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取buff提供的防御力  <a href="class_base_buff.html#a03664e0db898c0765a6fff50a575370f">更多...</a><br /></td></tr>
<tr class="separator:a03664e0db898c0765a6fff50a575370f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a1a4f2d5e10339f21621ce46cd02399"><td class="memItemLeft" align="right" valign="top"><a id="a3a1a4f2d5e10339f21621ce46cd02399" name="a3a1a4f2d5e10339f21621ce46cd02399"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseBuff</b> (double velocityBuffRatio, double gravityBuffRatio, double attackPowerBuffRatio, double healthBuff, double healthBuffRatio, double defensivePowerBuff, int <a class="el" href="class_base_item.html#ae7cede2e9984e90cba978a02045adcc9">max_durability</a>)</td></tr>
<tr class="separator:a3a1a4f2d5e10339f21621ce46cd02399"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_base_item"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_base_item')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_base_item.html">BaseItem</a></td></tr>
<tr class="memitem:a55e1e3ef6da56e19cf614bc017912ac0 inherit pub_methods_class_base_item"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a55e1e3ef6da56e19cf614bc017912ac0">getDropProbability</a> () const</td></tr>
<tr class="memdesc:a55e1e3ef6da56e19cf614bc017912ac0 inherit pub_methods_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取掉落概率  <a href="class_base_item.html#a55e1e3ef6da56e19cf614bc017912ac0">更多...</a><br /></td></tr>
<tr class="separator:a55e1e3ef6da56e19cf614bc017912ac0 inherit pub_methods_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af33b79b244475fc25c2a4dade622b2d5 inherit pub_methods_class_base_item"><td class="memItemLeft" align="right" valign="top">virtual const QString &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#af33b79b244475fc25c2a4dade622b2d5">getImgPath</a> () const</td></tr>
<tr class="memdesc:af33b79b244475fc25c2a4dade622b2d5 inherit pub_methods_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">提供给前端的图片路径  <a href="class_base_item.html#af33b79b244475fc25c2a4dade622b2d5">更多...</a><br /></td></tr>
<tr class="separator:af33b79b244475fc25c2a4dade622b2d5 inherit pub_methods_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a354a59be320769cdcec902e6c11ad4bc inherit pub_methods_class_base_item"><td class="memItemLeft" align="right" valign="top">virtual QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a354a59be320769cdcec902e6c11ad4bc">getClassName</a> () const =0</td></tr>
<tr class="memdesc:a354a59be320769cdcec902e6c11ad4bc inherit pub_methods_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">类名  <a href="class_base_item.html#a354a59be320769cdcec902e6c11ad4bc">更多...</a><br /></td></tr>
<tr class="separator:a354a59be320769cdcec902e6c11ad4bc inherit pub_methods_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90c0d86f19fd5f9a7bdbd7ce48ee6e75 inherit pub_methods_class_base_item"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a90c0d86f19fd5f9a7bdbd7ce48ee6e75">use</a> ()</td></tr>
<tr class="memdesc:a90c0d86f19fd5f9a7bdbd7ce48ee6e75 inherit pub_methods_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回物品是否损坏  <a href="class_base_item.html#a90c0d86f19fd5f9a7bdbd7ce48ee6e75">更多...</a><br /></td></tr>
<tr class="separator:a90c0d86f19fd5f9a7bdbd7ce48ee6e75 inherit pub_methods_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf660a7184a8e0c905b41e1648bb5b9 inherit pub_methods_class_base_item"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a2cf660a7184a8e0c905b41e1648bb5b9">isUnbreakable</a> () const</td></tr>
<tr class="memdesc:a2cf660a7184a8e0c905b41e1648bb5b9 inherit pub_methods_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取是否不可破坏  <a href="class_base_item.html#a2cf660a7184a8e0c905b41e1648bb5b9">更多...</a><br /></td></tr>
<tr class="separator:a2cf660a7184a8e0c905b41e1648bb5b9 inherit pub_methods_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2bdbbfbd53ce17757c91a8400a23a89 inherit pub_methods_class_base_item"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#ab2bdbbfbd53ce17757c91a8400a23a89">getDurability</a> () const</td></tr>
<tr class="memdesc:ab2bdbbfbd53ce17757c91a8400a23a89 inherit pub_methods_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取物品当前耐久  <a href="class_base_item.html#ab2bdbbfbd53ce17757c91a8400a23a89">更多...</a><br /></td></tr>
<tr class="separator:ab2bdbbfbd53ce17757c91a8400a23a89 inherit pub_methods_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1017a64916848f8b7b3671590a610964 inherit pub_methods_class_base_item"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_item.html#a1017a64916848f8b7b3671590a610964">getMaxDurability</a> () const</td></tr>
<tr class="memdesc:a1017a64916848f8b7b3671590a610964 inherit pub_methods_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取物品最大耐久  <a href="class_base_item.html#a1017a64916848f8b7b3671590a610964">更多...</a><br /></td></tr>
<tr class="separator:a1017a64916848f8b7b3671590a610964 inherit pub_methods_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a820e12f0da0205effb824b49b36365b2"><td class="memItemLeft" align="right" valign="top"><a id="a820e12f0da0205effb824b49b36365b2" name="a820e12f0da0205effb824b49b36365b2"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>velocity_buff_ratio</b> = 1.0</td></tr>
<tr class="memdesc:a820e12f0da0205effb824b49b36365b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">buff提供的加速比率 <br /></td></tr>
<tr class="separator:a820e12f0da0205effb824b49b36365b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1df72e7275a2e44bd193d55e3a266f1d"><td class="memItemLeft" align="right" valign="top"><a id="a1df72e7275a2e44bd193d55e3a266f1d" name="a1df72e7275a2e44bd193d55e3a266f1d"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>gravity_buff_ratio</b> = 1.0</td></tr>
<tr class="memdesc:a1df72e7275a2e44bd193d55e3a266f1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">buff提供的重力比率 <br /></td></tr>
<tr class="separator:a1df72e7275a2e44bd193d55e3a266f1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad23031b75ce056aec9b748c01342b298"><td class="memItemLeft" align="right" valign="top"><a id="ad23031b75ce056aec9b748c01342b298" name="ad23031b75ce056aec9b748c01342b298"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>attack_power_buff_ratio</b> = 1.0</td></tr>
<tr class="memdesc:ad23031b75ce056aec9b748c01342b298"><td class="mdescLeft">&#160;</td><td class="mdescRight">buff提供的攻击力比率 <br /></td></tr>
<tr class="separator:ad23031b75ce056aec9b748c01342b298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af208d95a81d09d2ee9ff595e31a24ac2"><td class="memItemLeft" align="right" valign="top"><a id="af208d95a81d09d2ee9ff595e31a24ac2" name="af208d95a81d09d2ee9ff595e31a24ac2"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>health_buff</b> = 0.0</td></tr>
<tr class="memdesc:af208d95a81d09d2ee9ff595e31a24ac2"><td class="mdescLeft">&#160;</td><td class="mdescRight">buff提供的体力值 <br /></td></tr>
<tr class="separator:af208d95a81d09d2ee9ff595e31a24ac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a638af7859c39b2f324813b772053f559"><td class="memItemLeft" align="right" valign="top"><a id="a638af7859c39b2f324813b772053f559" name="a638af7859c39b2f324813b772053f559"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>permanent_defensive_power_buff</b> = 0.0</td></tr>
<tr class="memdesc:a638af7859c39b2f324813b772053f559"><td class="mdescLeft">&#160;</td><td class="mdescRight">buff提供的永久防御力 <br /></td></tr>
<tr class="separator:a638af7859c39b2f324813b772053f559"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95e0d691f250b451616ef2531108df29"><td class="memItemLeft" align="right" valign="top"><a id="a95e0d691f250b451616ef2531108df29" name="a95e0d691f250b451616ef2531108df29"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>health_buff_ratio</b> = 1.0f</td></tr>
<tr class="memdesc:a95e0d691f250b451616ef2531108df29"><td class="mdescLeft">&#160;</td><td class="mdescRight">buff提供的体力值比率 <br /></td></tr>
<tr class="separator:a95e0d691f250b451616ef2531108df29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a321a6cc1700bf678ac7c131c328e90e6"><td class="memItemLeft" align="right" valign="top"><a id="a321a6cc1700bf678ac7c131c328e90e6" name="a321a6cc1700bf678ac7c131c328e90e6"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><b>defensive_power_buff</b> = 0.0</td></tr>
<tr class="memdesc:a321a6cc1700bf678ac7c131c328e90e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">buff提供的临时防御值 <br /></td></tr>
<tr class="separator:a321a6cc1700bf678ac7c131c328e90e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_base_item"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_base_item')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_base_item.html">BaseItem</a></td></tr>
<tr class="memitem:a95be0d3fe58b46b495c8d8cd9832cf66 inherit pro_attribs_class_base_item"><td class="memItemLeft" align="right" valign="top"><a id="a95be0d3fe58b46b495c8d8cd9832cf66" name="a95be0d3fe58b46b495c8d8cd9832cf66"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>img_path</b></td></tr>
<tr class="memdesc:a95be0d3fe58b46b495c8d8cd9832cf66 inherit pro_attribs_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">前端使用，图片路径 <br /></td></tr>
<tr class="separator:a95be0d3fe58b46b495c8d8cd9832cf66 inherit pro_attribs_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1555359d7cdfdaba548208da98a6f06f inherit pro_attribs_class_base_item"><td class="memItemLeft" align="right" valign="top"><a id="a1555359d7cdfdaba548208da98a6f06f" name="a1555359d7cdfdaba548208da98a6f06f"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>durability</b></td></tr>
<tr class="memdesc:a1555359d7cdfdaba548208da98a6f06f inherit pro_attribs_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">耐久度，不可破坏的物品可能为任意负值 <br /></td></tr>
<tr class="separator:a1555359d7cdfdaba548208da98a6f06f inherit pro_attribs_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7cede2e9984e90cba978a02045adcc9 inherit pro_attribs_class_base_item"><td class="memItemLeft" align="right" valign="top"><a id="ae7cede2e9984e90cba978a02045adcc9" name="ae7cede2e9984e90cba978a02045adcc9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>max_durability</b></td></tr>
<tr class="memdesc:ae7cede2e9984e90cba978a02045adcc9 inherit pro_attribs_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">最大耐久度，不可破坏的物品可能为任意负值 <br /></td></tr>
<tr class="separator:ae7cede2e9984e90cba978a02045adcc9 inherit pro_attribs_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec06711b8f4551614a43facd072a3e6e inherit pro_attribs_class_base_item"><td class="memItemLeft" align="right" valign="top"><a id="aec06711b8f4551614a43facd072a3e6e" name="aec06711b8f4551614a43facd072a3e6e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>unbreakable</b> = false</td></tr>
<tr class="memdesc:aec06711b8f4551614a43facd072a3e6e inherit pro_attribs_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否可以破坏 <br /></td></tr>
<tr class="separator:aec06711b8f4551614a43facd072a3e6e inherit pro_attribs_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_class_base_item"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_base_item')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="class_base_item.html">BaseItem</a></td></tr>
<tr class="memitem:a3d966b5252386cad87a1aba61cd3c65c inherit pub_attribs_class_base_item"><td class="memItemLeft" align="right" valign="top"><a id="a3d966b5252386cad87a1aba61cd3c65c" name="a3d966b5252386cad87a1aba61cd3c65c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>drop_probability</b></td></tr>
<tr class="memdesc:a3d966b5252386cad87a1aba61cd3c65c inherit pub_attribs_class_base_item"><td class="mdescLeft">&#160;</td><td class="mdescRight">掉落概率，单位：百分之掉落概率 <br /></td></tr>
<tr class="separator:a3d966b5252386cad87a1aba61cd3c65c inherit pub_attribs_class_base_item"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >buff基类 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a8f5635190ba668e2b4ab84701e85e57d" name="a8f5635190ba668e2b4ab84701e85e57d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f5635190ba668e2b4ab84701e85e57d">&#9670;&nbsp;</a></span>getAttackPowerBuffRatio()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double BaseBuff::getAttackPowerBuffRatio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取buff提供的攻击力比率 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_buff_a8f5635190ba668e2b4ab84701e85e57d_icgraph.png" border="0" usemap="#aclass_base_buff_a8f5635190ba668e2b4ab84701e85e57d_icgraph" alt=""/></div>
<map name="aclass_base_buff_a8f5635190ba668e2b4ab84701e85e57d_icgraph" id="aclass_base_buff_a8f5635190ba668e2b4ab84701e85e57d_icgraph">
<area shape="rect" title="获取buff提供的攻击力比率" alt="" coords="247,5,421,47"/>
<area shape="rect" href="class_base_player.html#aac31c29c954679acce97217293bad308" title="刷新攻击冷却并根据传入的attack攻击" alt="" coords="5,5,199,47"/>
</map>
</div>

</div>
</div>
<a id="a03664e0db898c0765a6fff50a575370f" name="a03664e0db898c0765a6fff50a575370f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03664e0db898c0765a6fff50a575370f">&#9670;&nbsp;</a></span>getDefensivePowerBuff()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double BaseBuff::getDefensivePowerBuff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取buff提供的防御力 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a398e128ef2a8e43ac6374b06fb5517c5" name="a398e128ef2a8e43ac6374b06fb5517c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a398e128ef2a8e43ac6374b06fb5517c5">&#9670;&nbsp;</a></span>getGravityBuffRatio()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double BaseBuff::getGravityBuffRatio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取buff提供的重力比率 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a146b793898a143af06393e0df870528d" name="a146b793898a143af06393e0df870528d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a146b793898a143af06393e0df870528d">&#9670;&nbsp;</a></span>getHealthBuff()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double BaseBuff::getHealthBuff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取buff提供的体力值 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="aa016c942a60c774c7dcf2e25b9aece29" name="aa016c942a60c774c7dcf2e25b9aece29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa016c942a60c774c7dcf2e25b9aece29">&#9670;&nbsp;</a></span>getHealthBuffRatio()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double BaseBuff::getHealthBuffRatio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取buff提供的体力值比率 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="abd2c21a1a0c95590208317291a8f874b" name="abd2c21a1a0c95590208317291a8f874b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd2c21a1a0c95590208317291a8f874b">&#9670;&nbsp;</a></span>getPermanentDefensivePowerBuff()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double BaseBuff::getPermanentDefensivePowerBuff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取buff提供的永久防御力 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="abf220469ae6a5ab0630a39163f57030d" name="abf220469ae6a5ab0630a39163f57030d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf220469ae6a5ab0630a39163f57030d">&#9670;&nbsp;</a></span>getVelocityBuffRatio()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double BaseBuff::getVelocityBuffRatio </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取buff提供的速度比率 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/Buff/<a class="el" href="_base_buff_8h_source.html">BaseBuff.h</a></li>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/Buff/BaseBuff.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
